package com.yxtp.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.yxtp.dao.ImgInfoMapper;
import com.yxtp.entity.ImgInfo;
import com.yxtp.service.ImgService;

@Service
@Transactional
public class ImgServiceImpl implements ImgService{

	@Autowired
	private ImgInfoMapper imgMapper;
	
	@Override
	public void addImgInfo(ImgInfo imginfo) {
		imgMapper.addImgInfo(imginfo);
	}

	@Override
	public List<ImgInfo> selectAllImgPath() {
		// TODO Auto-generated method stub
		return this.imgMapper.selectAllImgPath();
	}

}
